package redemo5;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import redemo5.controller1.UserController;

public class Demo {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("redemo5");
        UserController controller = context.getBean(UserController.class);
        controller.Login();
    }
}
